home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / admin.fmt / rmold.man < prev    next >
Encoding:
Text File  |  1991-03-12  |  2.3 KB  |  69 lines

  1.  
  2.  
  3.  
  4. RMOLD                     User Commands                     RMOLD
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      rmold - Delete old files
  12.  
  13. SSYYNNOOPPSSIISS
  14.      rrmmoolldd [_o_p_t_i_o_n_s] _n_u_m_D_a_y_s _f_i_l_e _f_i_l_e ...
  15.  
  16. OOPPTTIIOONNSS
  17.      --mmoodd           Use modify time instead  of  access  time  to
  18.                     control deletion.
  19.  
  20.      --pprriinntt         Do not actually delete any files;  just print
  21.                     a list of those that would be deleted.
  22.  
  23.      --ttiimmeessFFrroomm _d_i_r_e_c_t_o_r_y
  24.                     For each _f_i_l_e, get  the  access  (or  modify)
  25.                     time  from  _d_i_r_e_c_t_o_r_y//_f_i_l_e  instead  of  from
  26.                     _f_i_l_e.
  27.  
  28.      --hheellpp          Print a summary of the  command-line  options
  29.                     and exit without updating any targets.
  30.  
  31. _________________________________________________________________
  32.  
  33.  
  34. DDEESSCCRRIIPPTTIIOONN
  35.      The rrmmoolldd program  deletes  all  of  the  named  files  that
  36.      haven't  been  accessed in the last _n_u_m_D_a_y_s days.  It prints
  37.      the names of all the files it deleted.  If the  --mmoodd  switch
  38.      is given, then rrmmoolldd deletes all the files that haven't been
  39.      modified in _n_u_m_D_a_y_s days.  If --pprriinntt is specified then rrmmoolldd
  40.      prints  the  names  of  files that haven't been accessed (or
  41.      modified) in _n_u_m_D_a_y_s, but it doesn't delete any of them.
  42.  
  43.      If ttiimmeessFFrroomm is specified, rrmmoolldd will  use  the  access  (or
  44.      modify)  time  of the same-named file in the given alternate
  45.      directory.  This option lets you  delete  old  backup  files
  46.      after  the installed version of the file has been around for
  47.      awhile.  For example, to delete backup  copies  of  commands
  48.      that were installed over 90 days ago, you could do something
  49.      like
  50.  
  51.                cd /sprite/cmds.$MACHINE.old
  52.                rmold -mod -timesFrom /sprite/cmds.$MACHINE 90 *
  53.  
  54.  
  55. KKEEYYWWOORRDDSS
  56.      access, delete, modified, old
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0        Printed:  March 12, 1991                    1
  66.  
  67.  
  68.  
  69.